Hi I have to connect Doors 9.5.1.2 DB with external system, so during development I have to simulate big amount of data that will be near the production Doors DB with over 1 mln objects/requirements. Is there a easy way to do that DXl script or ready samle DB. I need their description to be different ,text and other base attributes. So they can be random numbers for example: Requirement 23482934 Descritpion: Sample Description 1894234293094. .... I want to test performance of my code when there are a huge amount of data. Dinio - Tue Dec 01 06:11:55 EST 2015 |
Re: Create sample DB with over 1 mln objects. How about something like this? It creates x projects at the top level, x folders inside them, and x modules inside them. " int numProjects = 5 int numFolders = 5 int numModules = 10 int i = 0 int j = 0 int k = 0 Project p Folder f Module m string pname for (i=0;i<numProjects;i++){ pname = "p" i "" create (pname, "", p) for (j=0;j<numFolders;j++) { fname = "/" pname "/f" j "" create (fname, "", f) for (k=0;k<numModules;k++) { mname = fname "/m" k "" create (mname, "", "", 1, m) close m } } } " |
Re: Create sample DB with over 1 mln objects. Hello Dinio,
as I understand you want to create a module which has about 1 million requirements. I suggest the following procedure. Let me know if you succeed. Marcus Attachments create objects.dxl |
Re: Create sample DB with over 1 mln objects. You can also create a large amounts of sample data by importing a spreadsheet or word document and then duplicating the imported module many times and then duplicate the folder of modules many times. Break the module into sections before duplicating to increase the load on the test server. Sean |
Re: Create sample DB with over 1 mln objects. mstanke - Tue Dec 01 11:31:40 EST 2015 Hello Dinio,
as I understand you want to create a module which has about 1 million requirements. I suggest the following procedure. Let me know if you succeed. Marcus Hi, I have creating object: no permission to create object -I- DXL: execution halted I logged as user with all permissions, and still the error occurs. |
Re: Create sample DB with over 1 mln objects. Dinio - Wed Dec 02 04:05:31 EST 2015 Hi, I have creating object: no permission to create object -I- DXL: execution halted I logged as user with all permissions, and still the error occurs.
Hi Dinio,
Regards |
Re: Create sample DB with over 1 mln objects. Hi, I write small script chick can generate N Projects, N- Formal Modules, N-Objects in very module, with random generated requirements with embedded OLEs in it. File's path is specific and has to be changed. The script has its bugs(can close open modules) but I test it 10+times and works. To run: - you have to change the chomski script import as well as resources paths. For the sentance generation I use Chomski.inc from Tony Goodman sie(Smart DXL).
I will be happy if you improve this script.
Attachments createProjects.dxl chomsky.inc |